package com.zhcd.sys.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author feifei
 * @since 2021-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Patient对象", description="")
public class Patient implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "患者id")
    @TableId(value = "PatientId", type = IdType.AUTO)
    private Integer patientid;

    @ApiModelProperty(value = "患者姓名")
    @TableField("PatientName")
    private String patientname;

    @ApiModelProperty(value = "患者电话")
    @TableField("PatientPhone")
    private String patientphone;

    @ApiModelProperty(value = "患者年龄")
    @TableField("PatientAge")
    private Integer patientage;

    @ApiModelProperty(value = "患者身高(cm)")
    @TableField("PatientHeight")
    private Integer patientheight;

    @ApiModelProperty(value = "患者体重(kg)")
    @TableField("PatientWeight")
    private BigDecimal patientweight;

    @ApiModelProperty(value = "患者性别(0女,1男)")
    @TableField("PatientSex")
    private Integer patientsex;

    @ApiModelProperty(value = "患者状态(0在家,1在院)")
    @TableField("PatientStatus")
    private Integer patientstatus;

    @ApiModelProperty(value = "创建时间")
    @TableField("CreateTime")
    private Date createtime;

    @ApiModelProperty(value = "备注")
    @TableField("Remark")
    private String remark;

    @ApiModelProperty(value = "床位id")
    @TableField("BedId")
    private String bedid;

    @ApiModelProperty(value = "床位号")
    @TableField("BedNo")
    private String bedno;

    @ApiModelProperty(value = "医院id")
    @TableField("HospitalId")
    private String hospitalid;

    @ApiModelProperty(value = "医院名称")
    @TableField("HospitalName")
    private String hospitalname;

    @ApiModelProperty(value = "科室id")
    @TableField("DepartmentId")
    private String departmentid;

    @ApiModelProperty(value = "科室名称")
    @TableField("DepartmentName")
    private String departmentname;

    @ApiModelProperty(value = "医生id")
    @TableField("DoctorId")
    private String doctorid;

    @ApiModelProperty(value = "医生名称")
    @TableField("DoctorName")
    private String doctorname;

    @ApiModelProperty(value = "床垫设备号")
    @TableField("EquipmentNo")
    private String equipmentno;


}
